|
xportethxe 2.2.1
|
This file contains API for XPort ETH XE Click Driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_uart.h"Go to the source code of this file.
Data Structures | |
| struct | xportethxe_t |
| XPort ETH XE Click context object. More... | |
| struct | xportethxe_cfg_t |
| XPort ETH XE Click configuration object. More... | |
Enumerations | |
| enum | xportethxe_return_value_t { XPORTETHXE_OK = 0 , XPORTETHXE_ERROR = -1 , XPORTETHXE_ERROR_TIMEOUT = -2 , XPORTETHXE_ERROR_CMD = -3 } |
| XPort ETH XE Click return value data. More... | |
Functions | |
| void | xportethxe_cfg_setup (xportethxe_cfg_t *cfg) |
| XPort ETH XE configuration object setup function. | |
| err_t | xportethxe_init (xportethxe_t *ctx, xportethxe_cfg_t *cfg) |
| XPort ETH XE initialization function. | |
| err_t | xportethxe_generic_write (xportethxe_t *ctx, uint8_t *data_in, uint16_t len) |
| XPort ETH XE data writing function. | |
| err_t | xportethxe_generic_read (xportethxe_t *ctx, uint8_t *data_out, uint16_t len) |
| XPort ETH XE data reading function. | |
| void | xportethxe_send_cmd (xportethxe_t *ctx, uint8_t *cmd) |
| XPort ETH XE send cmd function. | |
| void | xportethxe_send_enter (xportethxe_t *ctx) |
| XPort ETH XE send enter function. | |
| void | xportethxe_set_rst_pin (xportethxe_t *ctx, uint8_t state) |
| XPort ETH XE set RST pin function. | |
| void | xportethxe_set_cts_pin (xportethxe_t *ctx, uint8_t state) |
| XPort ETH XE set CTS pin function. | |
| uint8_t | xportethxe_get_rts_pin (xportethxe_t *ctx) |
| XPort ETH XE get RTS pin function. | |
| uint8_t | xportethxe_get_dtr_pin (xportethxe_t *ctx) |
| XPort ETH XE get DTR pin function. | |
| void | xportethxe_reset_device (xportethxe_t *ctx) |
| XPort ETH XE reset device function. | |
This file contains API for XPort ETH XE Click Driver.